Repository navigation
The server can push its metrics to Prometheus over OTLP/HTTP (upstream #1540) - #127
Merged
Merged
Conversation
…s otherwise (deeplethe#1539) utopia=debug stays a stdout setting: the global EnvFilter now applies to the fmt layer only, so debug spans are no longer exported. One exporter test per metric is kept. (cherry picked from commit ec4af2b)
…TER=none keeps metrics only (deeplethe#1539) http/protobuf is the default, as the OTel spec asks, and grpc stays one variable away. Prometheus's own OTLP receiver takes HTTP and no traces, so both are needed to push metrics straight to it. (cherry picked from commit 620458e)
|
Lore is reviewing this PR — ec3f606c-6c85-45ce-834f-9996b4a7f3a5. Submit a review that requests changes to have Lore push a fix for it. Comment |
There was a problem hiding this comment.
Lore review — Approved
Clean carry of the upstream OTLP/HTTP transport, OTEL_TRACES_EXPORTER=none support, and per-layer UTOPIA_OTEL_FILTER commits onto re-dev.
Must fix (0) · Consider (0) · Nits (0)
Reviewed by gemini-4-argon
Submit a review that requests changes to have Lore push a fix for it. Comment @lore review to re-run the review.
Posted by floor, visit 9e866bca-e03e-4e55-bd05-cf4ef38101db.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lets the server push its metrics straight into the internal cluster's Prometheus. Two commits are cherry-picked from upstream deeplethe#1540, which is still in review:
infounlessUTOPIA_OTEL_FILTERsays otherwise, soutopia=debugspans stay in the log instead of being exported.OTEL_EXPORTER_OTLP_PROTOCOLpicks the transport (http/protobufby default, orgrpc), andOTEL_TRACES_EXPORTER=nonekeeps metrics only. Prometheus's OTLP receiver takes HTTP and no traces.Checked end to end against a local Prometheus 3.5 with
--web.enable-otlp-receiver: with a queued job,utopia_jobs_queue_sizeandutopia_jobs_queue_oldest_wait_secondsarrived, labelledjob="utopia-server",kb,laneandstatus, and the server logged no export errors.Nothing changes until the deploy values set the endpoint. That comes in a follow-up after the release, together with an egress rule to Prometheus, and it needs re-cinq/infrastructure#79 merged first.